package com.blockmeta.bbs.businesslibrary.net.pojo;

import java.util.List;

/**
 * Created by author on 2018/3/26.
 */

public class BBSRewardAuthorPOJO {


    /**
     * mPostName : 120822
     * title : Btc98里面能有一些主流币的交易吗？类似比特币、以太坊、莱特什么的？
     * post_date : 1514453653
     * desc :
     * content : <br/>
     * author_info : {"mPostName":"189455","name":"麦兜兜兜","desc":"","avatar":"http://8btc.com/uc_server/data/avatar/000/18/94/55_avatar_middle.jpg"}
     * category : {"name":"问答/互助","threads":"1106","posts":"15049","mPostName":"42","link":"/forum-42-1.html"}
     * getViews : 1375
     * replies : 5
     * lastpost : 1516430979
     * lastposter : jmcabc2008
     * attachments : []
     * reward : {"price":20,"status":1,"bestpost":{"pid":"986513","position":"2","authorid":"152951","author":"coolcoin","avatar":"http://8btc.com/uc_server/data/avatar/000/15/29/51_avatar_small.jpg","content":"有的，已经开通了对BTC\\ETH\\USDT交易对，主流币种都有，还有一些人气新币。","post_date":"1514453654"}}
     * favid : 0
     */

    private int id;
    private String title;
    private String post_date;
    private String desc;
    private String content;
    private AuthorInfoBean author_info;
    private CategoryBean category;
    private String views;
    private String replies;
    private String lastpost;
    private String lastposter;
    private RewardBean reward;
    private int favid;
    private List<?> attachments;
    private int like;
    private String attitude;//点赞
    private int pid;

    public int getPid() {
        return pid;
    }

    public void setPid(int pid) {
        this.pid = pid;
    }

    public String getAttitude() {
        return attitude;
    }

    public void setAttitude(String attitude) {
        this.attitude = attitude;
    }

    public int getLike() {
        return like;
    }

    public void setLike(int like) {
        this.like = like;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getPost_date() {
        return post_date;
    }

    public void setPost_date(String post_date) {
        this.post_date = post_date;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public AuthorInfoBean getAuthor_info() {
        return author_info;
    }

    public void setAuthor_info(AuthorInfoBean author_info) {
        this.author_info = author_info;
    }

    public CategoryBean getCategory() {
        return category;
    }

    public void setCategory(CategoryBean category) {
        this.category = category;
    }

    public String getViews() {
        return views;
    }

    public void setViews(String views) {
        this.views = views;
    }

    public String getReplies() {
        return replies;
    }

    public void setReplies(String replies) {
        this.replies = replies;
    }

    public String getLastpost() {
        return lastpost;
    }

    public void setLastpost(String lastpost) {
        this.lastpost = lastpost;
    }

    public String getLastposter() {
        return lastposter;
    }

    public void setLastposter(String lastposter) {
        this.lastposter = lastposter;
    }

    public RewardBean getReward() {
        return reward;
    }

    public void setReward(RewardBean reward) {
        this.reward = reward;
    }

    public int getFavid() {
        return favid;
    }

    public void setFavid(int favid) {
        this.favid = favid;
    }

    public List<?> getAttachments() {
        return attachments;
    }

    public void setAttachments(List<?> attachments) {
        this.attachments = attachments;
    }

    public static class AuthorInfoBean {
        /**
         * mPostName : 189455
         * name : 麦兜兜兜
         * desc :
         * avatar : http://8btc.com/uc_server/data/avatar/000/18/94/55_avatar_middle.jpg
         */

        private String id;
        private String name;
        private String desc;
        private String avatar;
        private String grouptitle;
        private String date;

        public String getDate() {
            return date;
        }

        public void setDate(String date) {
            this.date = date;
        }

        public String getGrouptitle() {
            return grouptitle;
        }

        public void setGrouptitle(String grouptitle) {
            this.grouptitle = grouptitle;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getDesc() {
            return desc;
        }

        public void setDesc(String desc) {
            this.desc = desc;
        }

        public String getAvatar() {
            return avatar;
        }

        public void setAvatar(String avatar) {
            this.avatar = avatar;
        }
    }

    public static class CategoryBean {
        /**
         * name : 问答/互助
         * threads : 1106
         * posts : 15049
         * mPostName : 42
         * link : /forum-42-1.html
         */

        private String name;
        private String threads;
        private String posts;
        private String id;
        private String link;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getThreads() {
            return threads;
        }

        public void setThreads(String threads) {
            this.threads = threads;
        }

        public String getPosts() {
            return posts;
        }

        public void setPosts(String posts) {
            this.posts = posts;
        }

        public String getId() {
            return id;
        }

        public void setId(String id) {
            this.id = id;
        }

        public String getLink() {
            return link;
        }

        public void setLink(String link) {
            this.link = link;
        }
    }

    public static class RewardBean {
        /**
         * price : 20
         * status : 1
         * bestpost : {"pid":"986513","position":"2","authorid":"152951","author":"coolcoin","avatar":"http://8btc.com/uc_server/data/avatar/000/15/29/51_avatar_small.jpg","content":"有的，已经开通了对BTC\\ETH\\USDT交易对，主流币种都有，还有一些人气新币。","post_date":"1514453654"}
         */

        private int price;
        private int status;
        private BestpostBean bestpost;

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public BestpostBean getBestpost() {
            return bestpost;
        }

        public void setBestpost(BestpostBean bestpost) {
            this.bestpost = bestpost;
        }

        public static class BestpostBean {
            /**
             * pid : 986513
             * position : 2
             * authorid : 152951
             * author : coolcoin
             * avatar : http://8btc.com/uc_server/data/avatar/000/15/29/51_avatar_small.jpg
             * content : 有的，已经开通了对BTC\ETH\USDT交易对，主流币种都有，还有一些人气新币。
             * post_date : 1514453654
             * "post_date": "1534749446",
             "group_title": "水手",
             "date": "2个月",
             "like": 0,
             "attitude": "0"
             */

            private String pid;
            private String position;
            private String authorid;
            private String author;
            private String avatar;
            private String content;
            private String post_date;
            private String group_title;
            private String  date;
            private String attitude;
            private int like;

            public String getGroup_title() {
                return group_title;
            }

            public void setGroup_title(String group_title) {
                this.group_title = group_title;
            }

            public String getDate() {
                return date;
            }

            public void setDate(String date) {
                this.date = date;
            }

            public String getAttitude() {
                return attitude;
            }

            public void setAttitude(String attitude) {
                this.attitude = attitude;
            }

            public int getLike() {
                return like;
            }

            public void setLike(int like) {
                this.like = like;
            }

            public String getPid() {
                return pid;
            }

            public void setPid(String pid) {
                this.pid = pid;
            }

            public String getPosition() {
                return position;
            }

            public void setPosition(String position) {
                this.position = position;
            }

            public String getAuthorid() {
                return authorid;
            }

            public void setAuthorid(String authorid) {
                this.authorid = authorid;
            }

            public String getAuthor() {
                return author;
            }

            public void setAuthor(String author) {
                this.author = author;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getPost_date() {
                return post_date;
            }

            public void setPost_date(String post_date) {
                this.post_date = post_date;
            }
        }
    }
}
